package org.spring.dao;

import org.spring.domain.Teacher;

import java.util.List;

public interface TeacherDao {
    void insert(Teacher teacher);

    void delete(Integer id);

    void update(Teacher teacher);

    List<Teacher> findAll();

    Teacher findOne(Integer id);
}
